/**
 * @license
 * Copyright Alibaba.com All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
 */

import { ApesMenuBaseService } from '@shared/apes/core';

import { ApesMenuService } from './apes-menu.service';

export function ApesMenuServiceFactory(
  higherOrderService: ApesMenuBaseService,
  menuService: ApesMenuService
): ApesMenuBaseService {
  return higherOrderService ? higherOrderService : menuService;
}
